$(function () {
    $(".preloader").fadeOut();
    $(".sidebar").sideNav({edge: "left"});
    $(".sidebar-right").sideNav({edge: "right"});
    $(".slide-show").owlCarousel({
        items: 1,
        navigation: true,
        slideSpeed: 1000,
        dots: true,
        paginationSpeed: 400,
        singleItem: true,
        loop: true
    });
    $(".collapsible").collapsible();
    $(".testimonial-slide").owlCarousel({items: 1,});
    $(".collapsible-header").on("click", function (a) {
        $(".collapsible-header").hasClass("active");
    });
    $(".datepicker").pickadate();
});